﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShipmentOrderStatusRptQuery.aspx.cs" Inherits="WMS6.Web.Analytics.ShipmentOrderStatusRptQuery" meta:resourcekey="Page" %>
<%@ Register src="../UserControls/MultipleSelectControl.ascx" tagname="MultipleSelectControl" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>ShipmentOrderStatusRptQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>  
    <script type="text/javascript">
       
        //初始化页面
        window.onload = function(){
            initQueryPage();
        }
        
         //窗口大小改变时触发的事件
        window.onresize = function()
	    {
	        autoResizeQueryDiv("div_query");
	    }
	    
	    //弹出窗口选择客户
        function selectCustomer()
        {
            var rtnValue = popModalWindow('../Configuration/CustomerQuery.aspx?action=txtConsigneeID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtConsigneeID").focus();
                document.getElementById("txtConsigneeID").value = rtnValue;
            }
        }
        
        //弹出窗口选择货主
        function selectOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerID").focus();
                document.getElementById("txtOwnerID").value = rtnValue;
            }
        }
	    
    </script>
</head>
<body>
    <form id="F15420" runat="server">
    <div>
        
            <div id="div_menu">
                <div style="float: left; width: 8px;">
                    <div class="tabL"></div>
                </div>
                <div class="tabLabelCont tabCur">
                    <asp:Label ID="lblShipmentOrderRpt" runat="server" Text="发货订单状态" 
                        CssClass="hover" meta:resourcekey="lblShipmentOrderRpt"></asp:Label>
                </div>
                <div style="float: left">
                    <div class="tabR"></div>
                </div>
            </div>
            
            <div id="div_query">
                <table width="580px" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="width:180px">
                            <asp:Label CssClass="label" ID="lblOrderID" runat="server" Text="发货订单号" 
                                meta:resourcekey="lblOrderID"></asp:Label>
                        </td>
                       <td style="width:30px">
                            &nbsp;
                        </td>
                        <td style="width:160px">
                            &nbsp;
                        </td>
                        <td style="width:200px"></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtOrderID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtOrderID"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlOrderIDOper" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlOrderIDOper">
                            </asp:DropDownList>
                        </td>
                        <td></td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblExternOrderID" runat="server" Text="外部订单号" 
                                meta:resourcekey="lblExternOrderID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtExternOrderID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtExternOrderID"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlExternOrderID" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlExternOrderID">
                            </asp:DropDownList>
                        </td>
                        <td></td>
                    </tr>
                    
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="Label1" runat="server" Text="销售订单号" 
                                meta:resourcekey="Label1"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="TextBox1" runat="server" CssClass="textbox" 
                                meta:resourcekey="TextBox1"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="DropDownList1" runat="server" CssClass="selectbox" 
                                meta:resourcekey="DropDownList1">
                            </asp:DropDownList>
                        </td>
                        <td></td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblOwnerID" runat="server" Text="货主代码" 
                                meta:resourcekey="lblOwnerID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtOwnerID"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectOwner();"/>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlOwnerID" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlOwnerID">
                            </asp:DropDownList>
                        </td>
                        <td></td>
                    </tr>
                    
                    
                     <%--<tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblSkuID" runat="server" Text="货品名称"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSkuID" runat="server" CssClass="textbox"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSkuID" runat="server" CssClass="selectbox">
                            </asp:DropDownList>
                        </td>
                        <td></td>
                    </tr>
                    
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblSkuClassID" runat="server" Text="货品分类"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSkuClassID" runat="server" CssClass="textbox"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSkuClassID" runat="server" CssClass="selectbox">
                            </asp:DropDownList>
                        </td>
                        <td></td>
                    </tr>--%>
                    
                    
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblConsigneeID" runat="server" Text="客户代码" 
                                meta:resourcekey="lblConsigneeID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtConsigneeID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtConsigneeID"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectCustomer();"/>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlConsigneeID" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlConsigneeID">
                            </asp:DropDownList>
                        </td>
                        <td></td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblType" runat="server" Text="类型" 
                                meta:resourcekey="lblType"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                         <uc1:MultipleSelectControl ID="MSCType" runat="server" />
                            <%--<asp:DropDownList ID="ddlTypeOper" runat="server" CssClass="mediumselectbox" 
                                meta:resourcekey="ddlTypeOper"></asp:DropDownList> --%>                   
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlTypeOper" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlTypeOper">
                            </asp:DropDownList>
                        </td>
                        <td></td>
                    </tr>
                    
                   
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblStatus" runat="server" Text="状态" 
                                meta:resourcekey="lblStatus"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                        <tr>
                            <td>
                            <uc1:MultipleSelectControl ID="MSCStatus" runat="server" />
                                <%--<asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" 
                                    meta:resourcekey="ddlStatus"></asp:DropDownList>           --%>         
                            </td>
                            <td>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlStatusOper" runat="server" CssClass="selectbox" 
                                    meta:resourcekey="ddlStatus">
                                </asp:DropDownList>
                            </td>
                            <td></td>
                        </tr>
                    </tr>
                     <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblStartTime" runat="server" Text="开始发货日期" 
                                meta:resourcekey="lblStartTime"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStartTime" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtStartTime"></asp:TextBox><img  src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtStartTime)" />

                        </td>
                        <td>
                        </td>
                        <td>
                         
                        </td>
                        <td>
                           
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblEndTime" runat="server" Text="结束发货日期" 
                                meta:resourcekey="lblEndTime"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtEndTime" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtEndTime"></asp:TextBox><img  src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtEndTime)" />

                        </td>
                        <td>
                        </td>
                        <td>
                          
                        </td>
                        <td>
                           
                        </td>
                    </tr>
                    
                </table>
            </div>
        
        <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>" Enabled="False" 
                            CssClass="button"  onclick="btnSearch_Click" 
                             />
                    </td>
                </tr>
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" /><input type="hidden" id="hdnDataFormat"  runat="server"/>  
<input type="hidden" id="hdncalendarFlag"  runat="server"/>  

        
    </div>
    <link href="../Js/JqueryPlugin/jquery.multiselect.css" rel="stylesheet" type="text/css" />
    <link href="../Js/JqueryPlugin/jquery.ui.css" rel="stylesheet" type="text/css" />

    <script src="../Js/JqueryPlugin/jquery.multiselect.min.js" type="text/javascript"></script>

    </form>
</body>
</html>
<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenCalendarDiv();
		//-->
</script>
